import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class IODemo4 {
    public static void main(String[] args) {
        try(Writer writ = new FileWriter("D:/tmp.txt")) {
            writ.write("祝遇事问春风乄博主早日成为大牛！");
            writ.flush();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
